// test
export const getCount = state => {
  return state.count + 1
}
// 是否拥有权限
export const isUrlHasPurview = (state, payload) => {
  return state.selfPurviewList[payload]
}
// 返回编辑器的值
export const returnEditerHtml = (state) => {
  return state.editerHtml
}
// 检查全局权限
export const checkGlobalPurview = (state, payload) => {
  return state.purviewList.indexOf(payload)
}